package cj.web.pay.weixin;

/**
 * 微信支付常量
 * @author Administrator
 *
 */
public class WXConfig {
	
	//开放平台账号APPID
	public final static String KF_APPID ="wx3aedf8020837bca0";
	//开放平台账号APPSECRET
	public final static String KF_APPSECRET ="d7afbaae9348f23b81e70c7cf67479fd";
	
	
	//公众账号APPID
	public final static String APPID ="wxaecc02ae12aae203";
	//公众账号APPSECRET
	public final static String APPSECRET ="2a2b93a3b83119a6705ea03a5e0b5d0d";
	//商户号
	public final static String MCH_ID ="1226281502";
	//交易类型
	public final static String TRADE_TYPE ="JSAPI";
	//货币类型
	public final static String FEE_TYPE ="CNY";
	//统一下单链接地址
	public final static String UNIFIEDORDERURL ="https://api.mch.weixin.qq.com/pay/unifiedorder";
	
	public final static String ORDERQUERY ="https://api.mch.weixin.qq.com/pay/orderquery";
	//字符集utf-8
	public final static String CHARSETUTF8 ="utf-8";
	//婚典商户key设置
	public final static String KEY ="e10adc3949ba59abbe56e057f20f883e";
	
	//请求返回SUCCESS
	public final static String SUCCESS ="SUCCESS";
	//请求返回FAIL
	public final static String FAIL ="FAIL";
	//signType
	public final static String SIGNTYPE ="MD5";
	
	//微信JS接口的临时票据（jsapiticketurl）		
	public static String JSAPITICKETURL="https://api.weixin.qq.com/cgi-bin/ticket/getticket?type=jsapi&access_token=";	
	//微信oauth权限认证
	public final static String oauth_start = "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wxaecc02ae12aae203&redirect_uri=";
	public final static String oauth_end ="&response_type=code&scope=snsapi_base&state=1#wechat_redirect";
	//商城首页
	public final static String homeCode ="http://signup.whccwh.com/goods/homeCode";
	//活动首页
	public final static String gameCode ="http://signup.whccwh.com/game/homeCode";
	//活动详情页
	public final static String gameDetailCode ="http://signup.whccwh.com/game/detailCode&response_type=code&scope=snsapi_base&state=";
}